package cn.wolfcode.wms.mapper;

import java.util.List;

import cn.wolfcode.wms.domain.Product;
import cn.wolfcode.wms.query.QueryObject;

public interface ProductMapper {
	
	void insert(Product product);

	void deleteByPrimaryKey(Long id);

	int updateByPrimaryKey(Product product);

	Product selectByPrimaryKey(Long id);

	List<Product> selectAll();
    
	int queryForCount(QueryObject qo);

	List<Product> queryForList(QueryObject qo);
    
}